//
//  UserModuleApi.h
//  DemoProject
//
//  Created by mouxiaochun on 16/3/17.
//  Copyright © 2016年 mmc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AIRequest.h"
#import "MainPageMethods.h" //引入接口名称头文件
#import "MainPageResultParser.h"

static NSString *_mainPageModuleName = @"MainPage";//我们可以自定义一个模块名称



/**
 * 首页模块 API
 */
@interface MainPageModuleApi : NSObject
/**
 ** 司机更改接单状态
 
 
 **/
+ (void)driverChangeGetOrderStateWithDriverId:(NSString *)driverId completion:(AICompletionBlock)block;

//首页数据展示
+ (void)showMainPageWithdrvierId:(NSString *)drvierId completion:(AICompletionBlock)block;



//获取消息详情
/*
 messId 消息ID
 */
+ (void)getMessDetailsWithMessId:(NSString *)messId completion:(AICompletionBlock)block;


//删除消息
+ (void)deleteMessWithMessId:(NSString *)messId completion:(AICompletionBlock)block ;




//获取消息数据
+ (void)getDriverMessageListWithDriverId:(NSString *)driverId pageIndex:(NSString *)pageIndex pageSize:(NSString *)pageSize  completion:(AICompletionBlock)block;

//司机确认接单
+ (void)driverConfirmOrdersWithOrderId:(NSString *)orderId driverId:(NSString *)driverId completion:(AICompletionBlock)block;

//订单信息
+ (void)pullOrderInfoWithOrderId:(NSString *)orderId completion:(AICompletionBlock)block;
//删除订单
+(void)removeOrderWithOrderId:(NSString *)orderId completion:(AICompletionBlock)block;

//完成出游
+ (void)completeTravelWithOrderId:(NSString *)orderId completion:(AICompletionBlock)block;


//获取订单详情
+ (void)getOrderDetailsWithOrderId:(NSString *)orderId completion:(AICompletionBlock)block;



/*
 获取司机订单列表
completeState:状态  0：待完成   1已完成
pageIndex:页码
pageSize:页大小
*/
+ (void)driverOrderListWithDriverID:(NSString *)driverId completeState:(NSString *)completeState pageIndex:(NSString *)pageIndex pageSize:(NSString *)pageSize completion:(AICompletionBlock)block;





/**
 
 获取线路详情
 
 **/



+ (void)getTourisDetailsWithTourisId:(NSString *)tourisId completion:(AICompletionBlock)block;


//获取线路评价
+ (void)getTourisEvaluateWithTourisId:(NSString *)tourisId pageIndex:(NSString *)pageIndex pageSize:(NSString *)pageSize completion:(AICompletionBlock)block;



//获取服务介绍
+ (void)getServiceIntroductionWithtraveld:(NSString *)traveld completion:(AICompletionBlock)block;




//获取游客列表
+ (void)getOrdertouristListWithOrderId:(NSString *)orderId completion:(AICompletionBlock)block;


/*
 //获取财务数据
 startUpdDate:开始时间
 endUpdDate：结束时间
 */
+(void)getDriverFinanceInfoWithDriverId:(NSString *)driverId pageIndex:(NSString *)pageIndex pageSize:(NSString *)pageSize startUpdDate:(NSString *)startUpdDate endUpdDate:(NSString *)endUpdDate completion:(AICompletionBlock)block;




@end
